﻿
using System.Collections.Generic;
using System.Xml.Serialization;
namespace ConfigBatch
{
    [XmlRoot("BatchPersoConfiguration")]
    [XmlInclude(typeof(Login))] // include type class Person
    [XmlInclude(typeof(BatchPerso))] // include type class Person
    public class ConfigurationWrapper
    {
        [XmlElement("Login")]
        public Login Login { get; set; }

        [XmlArray("BatchPersoList")]
        [XmlArrayItem("BatchPerso")]
        public List<BatchPerso> Virtualization { get; set; }
    }
}
